﻿using System;
using System.ComponentModel;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using LeadThing.AbpZeroTemplate.CaseCategorys;

namespace LeadThing.AbpZeroTemplate.CaseCategorys.Dtos
{
    /// <summary>
    /// 矛盾纠纷案例菜单表列表Dto
    /// </summary>
    [AutoMapFrom(typeof(CaseCategory))]
    public class CaseCategoryListDto : EntityDto<long>
    {
        /// <summary>
        /// 菜单名称
        /// </summary>
        [DisplayName("菜单名称")]
        public string Title { get; set; }
        /// <summary>
        /// 父ID
        /// </summary>
        [DisplayName("父ID")]
        public int ParentID { get; set; }
        /// <summary>
        /// 层级
        /// </summary>
        [DisplayName("层级")]
        public int Layer { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        [DisplayName("排序")]
        public int SortID { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [DisplayName("创建时间")]
        public DateTime CreationTime { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        [DisplayName("内容")]
        public string Content { get; set; }

        #region 扩展字段

        /// <summary>
        /// 城市名称
        /// </summary>
        [DisplayName("城市名称")]
        public string DisplayTitle { get; set; }
        #endregion
    }
}
